package com.an.blog.admin.domain.bo;

import com.an.common.core.domain.BaseEntity;
import com.an.common.core.validate.AddGroup;
import com.an.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 社会化账号和用户中间业务对象 blog_social_user_auth
 *
 * @author Ann
 * @date 2023-08-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BlogSocialUserAuthBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long id;

    /**
     * 系统用户ID
     */
    @NotNull(message = "系统用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 社会化用户ID
     */
    @NotNull(message = "社会化用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long socialUserId;


}
